package org.changchen.fgt.service;

import java.util.List;

import org.changchen.fgt.dto.LiveChannelDto;
import org.changchen.fgt.dto.LiveChannelProcess;
import org.changchen.fgt.dto.LiveSourceErrorUdpateDto;
import org.springframework.web.multipart.MultipartFile;

public interface LiveChannelService {

	
	/**   
	 * @Title:      channelList   
	 * @Description:频道集合   
	 * @param:      @return      
	 * @return:     List<LiveChannelDto>      
	 * @throws   
	 */
	List<LiveChannelDto> channelList();

	
	/**   
	 * @Title:      sourceErrorUpdate   
	 * @Description:直播源错误记录   
	 * @param:      @param updateDto
	 * @param:      @return      
	 * @return:     boolean      
	 * @throws   
	 */
	Boolean sourceErrorUpdate(LiveSourceErrorUdpateDto updateDto);


	/**   
	 * @Title:      addLiveChannel   
	 * @Description:新增直播源   
	 * @param:      @param file
	 * @param:      @return      
	 * @return:     Boolean      
	 * @throws   
	 */
	void addLiveChannel(MultipartFile file);


	/**   
	 * @Title:      getHandleProcess   
	 * @Description:查看当前直播源文件处理过程   
	 * @param:      @return      
	 * @return:     LiveChannelProcess      
	 * @throws   
	 */
	LiveChannelProcess getHandleProcess(Long key);

}
